﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GluePathModule
{
    public class MotionItemCircle: MotionItemBase
    {
        public PointData PointCenter { get; set; }
        public PointData PointStart { get; set; }
        public bool IsCW { get; set; }
        public double Angle { get; set; }
        public MotionItemCircle(SpdData spdDataInput, PointData pointDataStartInput, PointData pointDataCenterInput, double dAngle)
        {
            PointStart = new PointData(pointDataStartInput);
            PointCenter = new PointData(pointDataCenterInput);
            spdData = new SpdData(spdDataInput);
            Angle = dAngle;

        }
        public override string ToString()
        {
            string strReturn = spdData.ToString() + "," + "Start--" + PointStart.ToString()
                + "," + "Center--" + PointCenter.ToString()
                + "," + "Angle:" + Angle.ToString();

            return strReturn;

        }
    }
}
